package DesignPatern.A12_策略模式.QSB.A02_抽象模式;

/**
 * @Author: Du
 * @Date: 2021/7/31 14:09
 */
public class Context
{
    private Strategy strategy;
    
    public Context(Strategy strategy)
    {
        this.strategy = strategy;
    }
    
    public void doAnyThing()
    {
        this.strategy.doSomeThing();
    }
}
